package com.yunxi.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 订单导入配置
 *
 * @author: lidy
 * @date: 2025-01-17 15:35
 */
@Component
@ConfigurationProperties(prefix = "order")  // 配置自动绑定
@Data
public class OrderProperties {

    private String timeout;

    private String autoConfirm;

    private String dbUrl;

}
